package com.aiden.dao.impl;

import com.aiden.dao.UserDao;
import com.aiden.entity.User;

import java.util.ArrayList;
import java.util.List;

public class UserDaoImpl implements UserDao {
    @Override
    public List<User> findAllList() {
        List <User> list=new ArrayList<>();
        //从数据库获取用户表中的用户信息
        list.add(new User(1001,"zs","123","张三"));
        list.add(new User(1002,"ls","123","李四"));
        list.add(new User(1003,"ww","123","王五"));
        return list;
    }
}
